<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>搜索结果</title>
    <style>
        :root {
            --primary: #2563eb;
            --primary-light: #3b82f6;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-600: #4b5563;
            --gray-800: #1f2937;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: white;
            color: var(--gray-800);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem;
        }
        .search-header {
            padding: 1.5rem 1rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid var(--gray-200);
        }
        .search-box {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
            gap: 0.75rem;
        }
        input[type="text"] {
            flex: 1;
            padding: 0.875rem 1.25rem;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.2s;
            background: var(--gray-100);
        }
        input[type="text"]:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            background: white;
        }
        button {
            padding: 0.875rem 1.5rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.2s;
        }
        button:hover {
            background: var(--primary-light);
        }
        .search-results {
            padding: 0 0.5rem;
        }
        .results-count {
            font-size: 0.9375rem;
            color: var(--gray-600);
            margin-bottom: 1.5rem;
        }
        .result-list {
            display: grid;
            gap: 1.25rem;
        }
        .result-item {
            padding: 1.5rem;
            border-radius: 8px;
            transition: all 0.2s;
            border: 1px solid var(--gray-200);
        }
        .result-item:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            border-color: var(--gray-200);
        }
        .result-item h3 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }
        .result-item .meta {
            font-size: 0.8125rem;
            color: var(--gray-600);
            margin-bottom: 0.75rem;
        }
        .result-item .snippet {
            color: var(--gray-800);
            margin-bottom: 1rem;
            font-size: 0.9375rem;
        }
        .result-item .read-more {
            display: inline-flex;
            align-items: center;
            color: var(--primary);
            font-weight: 500;
            text-decoration: none;
            font-size: 0.9375rem;
        }
        .result-item .read-more::after {
            content: '→';
            margin-left: 0.5rem;
            transition: all 0.2s;
        }
        .result-item .read-more:hover::after {
            transform: translateX(3px);
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }
            .search-box {
                flex-direction: column;
                gap: 0.75rem;
            }
            input[type="text"], button {
                width: 100%;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="search-header">
            <div class="search-box">
                <input type="text" placeholder="输入关键词搜索文章..." value="网页性能">
                <button>搜索</button>
            </div>
        </div>

        <div class="search-results">
            <div class="results-count">找到 12 条关于"网页性能"的结果</div>
            
            <div class="result-list">
                <div class="result-item">
                    <h3>如何优化网页性能</h3>
                    <div class="meta">前端开发 · 2025-08-15 · 阅读量 1,245</div>
                    <p class="snippet">介绍网页性能优化的10个实用技巧，包括资源压缩、懒加载和代码分割等高级技术。通过实际案例展示如何将页面加载时间从5秒降低到1秒以内...</p>
                    <a href="article.html" class="read-more">阅读全文</a>
                </div>
                
                <div class="result-item">
                    <h3>前端性能监控实践</h3>
                    <div class="meta">前端工程 · 2025-07-22 · 阅读量 892</div>
                    <p class="snippet">详细讲解如何搭建前端性能监控系统，包括关键指标采集、数据上报和分析。介绍如何使用Lighthouse和Web Vitals进行性能评估...</p>
                    <a href="article.html" class="read-more">阅读全文</a>
                </div>
                
                <div class="result-item">
                    <h3>React应用性能优化指南</h3>
                    <div class="meta">React · 2025-06-30 · 阅读量 1,532</div>
                    <p class="snippet">针对React应用的性能优化方案，包括组件懒加载、记忆化(Memoization)、虚拟列表(Virtual List)等技术的实际应用...</p>
                    <a href="article.html" class="read-more">阅读全文</a>
                </div>
            </div>
        </div>
    </div>
</body>
</html>